package com.hz.web.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class CertificatoryComp {
    private Integer certificateId;

    private String certificateType;

    private String companyName;

    private String certificateLevel;

    private String certificateNum;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date certificateValidity;

    private String certificateValidityStr;

    private Long companyId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date certificateTime;

    private String certificateTimeStr;

}